const nunjucks = require('nunjucks');
//escape 
//渲染字符串模板
nunjucks.configure({
    autoescape:false
});
let result = nunjucks.renderString('hello {{name}}',{
    name:'zhufengjiagou <script></script>'
});
console.log(result);